<script>
export default {
  name: 'Content',
  props: {
    showContent: {
      type: Array,
      default: []
    }
  },
  data () {
    return {
    }
  },
  render () {
    return (
        <div>
          {
            this.showContent.map((element, index) => {
              return <div>{element.isActive ? element.$slots.default : ''}</div>
            })
          }
        </div>
    )
  }
}
</script>

<style lang="less" scoped>

</style>
